<?php
/*
  $Id: search.php,v 1.22 2003/02/10 22:31:05 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/
?>
<!-- search //-->
          <tr>
            <td>
<?php
  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ADVANCED_SEARCH);
  $info_box_contents = array();
  //begin : Vunh remmed to remove search title
  //$info_box_contents[] = array('text' => BOX_HEADING_SEARCH);

  //new infoBoxHeading($info_box_contents, false, false);
  //end : Vunh remmed to remove search title

  $info_box_contents = array();
  
  $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'),
                               'align' => 'center',
                               'text' => '
						<table cellpadding="0" cellspacing="0" border="0" class="" style="height:3px;width:<?=WEBSITE_WIDTH?>;">
							<tr><td width="5" height="5">'.tep_image(DIR_WS_IMAGES.'q3.gif').'</td><td height="4" class="bg1" colspan="4" width="743px"></td>
							<td width="5" height="5">'.tep_image(DIR_WS_IMAGES.'q4.gif').'</td></tr>
							<tr><td class="bg4" style="background-repeat:repeat-y"></td><td style="vertical-align:middle">'. tep_draw_input_field('keywords', '', 'size="10" style="width:500px;vertical-align:middle" id="box_search_keyword"') . '' . tep_hide_session_id() .  '</td>
                            <td style="width:25px;padding-left:3px" align="left">' . tep_draw_pull_down_menu('categories_id', tep_get_categories(array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES))),'','style="width:250px; vertical-align:middle"'). '</td>
							<td style="vertical-align:middle;padding-left:3px;width:54px">'.tep_image_submit('button_search.gif').'</td>
							<td style="vertical-align:middle;padding-left:6px;width:170px"><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_SEARCH_ADVANCED_SEARCH . '</a></td>
							<td class="bg2"></td></tr>
							<tr><td class="bg4" style="background-repeat:repeat-y"></td>
							<td colspan="4">'.tep_draw_separator('spacer.gif', '1', '3').'</td>
							<td class="bg2"></td></tr>
							<tr><td colspan="6">'.tep_image(DIR_WS_IMAGES.'line.gif', '', WEBSITE_WIDTH) . '</td></tr>
						</table>							   
						');
  //Vunh change from infoBox -> infoBox_OKKO
  new infoBox_OKKO($info_box_contents);
?>
            </td>
          </tr>
<!-- search_eof //-->
